#ifndef EMPLOYEE_H
#define EMPLOYEE_H

typedef struct {
    int id;
    char name[50];
    float base_salary;
    float bonus;
    float total_salary;
} Employee;

extern Employee employees[];  // 声明为外部数组
extern int current_employee_count;  // 声明为外部变量

void addemployee();
void searchsalary();
void modifysalary();
void deleteemployee();
void displayall();

#endif
